<template>
	<div class="new-way">
			<el-row>创建方式：</el-row>
		<el-row>
			<el-button type="primary" @click="customTask">
				定制任务
			</el-button>
		</el-row>
		<el-row>
			<el-button type="primary" @click="createModel">
				模板创建
			</el-button>
		</el-row>
	</div>
</template>

<script>  
	export default{
		name:'new-way',
		data(){
			return {
				
			}
		},
		computed:{
			
		},
		mounted(){
			
		},
		methods:{
			customTask(){
				this.$parent.$parent.changeTab('taskBasicInfo')
			},
			createModel(){
				this.$parent.$parent.changeTab('taskModel')
			}
		}
	}
</script>

<style lang="scss">
	
.new-way .el-row {
	
 	text-align: center;
    margin-bottom: 20px;
    &:last-child {
      margin-bottom: 0;
    }
  }
 .new-way .el-row:first-child {
      text-align: left;
    }
</style>